package com.yeyks.common.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员列表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="会员列表", description="用户会员")
public class UserMemberCardWebDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户手机号(冗余字段)")
    private String phone;

    @ApiModelProperty(value = "会员卡id")
    private Integer cardId;

    @ApiModelProperty(value = "用户总的充值金额(单位/分)")
    private Integer totalPayAmount;

    @ApiModelProperty(value = "用户剩余的充值金额(单位/分，扣除时先扣除用户充值金额)")
    private Integer remainPayAmount;

    @ApiModelProperty(value = "送的总金额(单位/分)")
    private Integer totalGiveAmount;

    @ApiModelProperty(value = "送的剩余金额(单位/分)")
    private Integer remainGiveAmount;

    @ApiModelProperty(value = "状态默认0未删除，1已删除")
    private Integer isDel;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;

}
